package com.eascs.web.o2o.web.aging.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 登录信息日志
 */
@Entity
@Table(name = "o2o_login_log")
public class LoginLogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(name = "id")
	@Id
	private String id;

	@Column(name = "login_name")
	/** 登陆用户名 */
	private String loginName;

	@Column(name = "login_cn_name")
	/** 登陆用户名中文名 */
	private String loginCnName;

	@Column(name = "login_date")
	private Date loginDate;

	/* 访问Ip */
	private String ip;

	@Column(name = "login_source")
	private String loginSource;

	private String useragent;

	@Column(name = "login_marking")
	private String loginMarking;

	@Column(name = "login_type")
	private String loginType;

	@Column(name = "geo_info")
	private String geoInfo;

	@Column(name = "remark")
	private String remark;

	@Column(name = "is_remove")
	private int isRemove;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public Date getLoginDate() {
		return loginDate;
	}

	public void setLoginDate(Date loginDate) {
		this.loginDate = loginDate;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getLoginSource() {
		return loginSource;
	}

	public void setLoginSource(String loginSource) {
		this.loginSource = loginSource;
	}

	public String getUseragent() {
		return useragent;
	}

	public void setUseragent(String useragent) {
		this.useragent = useragent;
	}

	public String getLoginMarking() {
		return loginMarking;
	}

	public void setLoginMarking(String loginMarking) {
		this.loginMarking = loginMarking;
	}

	public String getLoginType() {
		return loginType;
	}

	public void setLoginType(String loginType) {
		this.loginType = loginType;
	}

	public String getGeoInfo() {
		return geoInfo;
	}

	public void setGeoInfo(String geoInfo) {
		this.geoInfo = geoInfo;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getIsRemove() {
		return isRemove;
	}

	public void setIsRemove(int isRemove) {
		this.isRemove = isRemove;
	}

	public String getLoginCnName() {
		return loginCnName;
	}

	public void setLoginCnName(String loginCnName) {
		this.loginCnName = loginCnName;
	}

}
